package com.woniuxy.background.dao;

import com.woniuxy.background.pojo.Ts;
import com.woniuxy.background.vo.TsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface TsMapper {
    int deleteByPrimaryKey(Integer tid);

    int insert(Ts record);

    int insertSelective(Ts record);

    Ts selectByPrimaryKey(Integer tid);

    int updateByPrimaryKeySelective(Ts record);

    int updateByPrimaryKey(Ts record);

    List<Ts> queryTsByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize, @Param("vo") TsVO vo);
}